package com.beyondcreative.stylebean;

import com.beyondcreative.network.ImageDownloader;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;

public class ContentActivity extends Activity {
	private ImageDownloader imageDownLoader;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
				WindowManager.LayoutParams.FLAG_FULLSCREEN);
		setContentView(R.layout.content_activity);
		imageDownLoader = new ImageDownloader();
		ImageView iv = (ImageView)findViewById(R.id.downloading_ImageView);
		imageDownLoader.download("http://beyondcreative.co.kr/images/sample1.jpg", iv);
	}
}
